package com.chainyoung.component_tmtrade.bean;

import java.io.Serializable;
import java.util.List;

public class TradeCurrentTotal implements Serializable{


    /**
     * status : ok
     * type : req
     * topic : market.eth_btc.depth.5
     * tick : {"bids":[{"id":"294816","price":"0.08321100","nums":"9.00000000","origin_num":"9.00000000","rate":"8278.00000000","trade_method":"exchange","total":0.748899,"total_aud":8287.959039,"total_cny":41024.436339},{"id":"808306","price":"0.05800000","nums":"3752.51680000","origin_num":"3793.71000000","rate":"7390.00000000","trade_method":"exchange","total":217.645974,"total_aud":2150274.974466,"total_cny":1.0643611821025E7},{"id":"812420","price":"0.05799000","nums":"78.80450000","origin_num":"78.80450000","rate":"8077.00000000","trade_method":"exchange","total":4.569873,"total_aud":49346.133891,"total_cny":244257.641577},{"id":"811160","price":"0.05793000","nums":"138.67970000","origin_num":"138.67970000","rate":"8153.00000000","trade_method":"exchange","total":8.033715,"total_aud":87565.450755,"total_cny":433438.828912},{"id":"811748","price":"0.05791000","nums":"82.50020000","origin_num":"82.50020000","rate":"8071.00000000","trade_method":"exchange","total":4.777587,"total_aud":51550.732052,"total_cny":255170.146875}],"asks":[{"id":"813106","price":"0.05823000","nums":"6.30220000","origin_num":"6.30220000","rate":"8151.00000000","trade_method":"exchange","total":0.366977,"total_aud":3998.97591,"total_cny":19794.467112},{"id":"812910","price":"0.05826000","nums":"79.98130000","origin_num":"89.72160000","rate":"7867.00000000","trade_method":"exchange","total":4.659711,"total_aud":49008.003733,"total_cny":242583.936495},{"id":"812658","price":"0.05828000","nums":"55.72120000","origin_num":"55.72120000","rate":"8216.00000000","trade_method":"exchange","total":3.247432,"total_aud":35669.691867,"total_cny":176560.839205},{"id":"812686","price":"0.05834000","nums":"50.70130000","origin_num":"50.70130000","rate":"8080.00000000","trade_method":"exchange","total":2.957914,"total_aud":31951.834924,"total_cny":158157.878383},{"id":"812126","price":"0.05840000","nums":"22.89170000","origin_num":"47.53840000","rate":"8078.00000000","trade_method":"exchange","total":1.336875,"total_aud":14437.555442,"total_cny":71464.225552}]}
     */

    private String status;
    private String type;
    private String topic;
    private TickBean tick;


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public TickBean getTick() {
        return tick;
    }

    public void setTick(TickBean tick) {
        this.tick = tick;
    }



    public  class TickBean implements Serializable{
        private List<TradeCurrentDetail> bids;
        private List<TradeCurrentDetail> asks;
        private String last_price;
        private Double change;
        private String scb_to_cny;//汇率

        public List<TradeCurrentDetail> getBids() {
            return bids;
        }

        public void setBids(List<TradeCurrentDetail> bids) {
            this.bids = bids;
        }

        public List<TradeCurrentDetail> getAsks() {
            return asks;
        }

        public void setAsks(List<TradeCurrentDetail> asks) {
            this.asks = asks;
        }

        public String getLast_price() {
            return last_price;
        }

        public void setLast_price(String last_price) {
            this.last_price = last_price;
        }

        public Double getChange() {
            return change;
        }

        public void setChange(Double change) {
            this.change = change;
        }

        public String getScb_to_cny() {
            return scb_to_cny;
        }

        public void setScb_to_cny(String scb_to_cny) {
            this.scb_to_cny = scb_to_cny;
        }

        public  class BidsBean {
            /**
             * id : 294816
             * price : 0.08321100
             * nums : 9.00000000
             * origin_num : 9.00000000
             * rate : 8278.00000000
             * trade_method : exchange
             * total : 0.748899
             * total_aud : 8287.959039
             * total_cny : 41024.436339
             */

            private String id;
            private String price;
            private String nums;
            private String origin_num;
            private String rate;
            private String trade_method;
            private String total;
            private String total_aud;
            private String total_cny;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getOrigin_num() {
                return origin_num;
            }

            public void setOrigin_num(String origin_num) {
                this.origin_num = origin_num;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getTrade_method() {
                return trade_method;
            }

            public void setTrade_method(String trade_method) {
                this.trade_method = trade_method;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getTotal_aud() {
                return total_aud;
            }

            public void setTotal_aud(String total_aud) {
                this.total_aud = total_aud;
            }

            public String getTotal_cny() {
                return total_cny;
            }

            public void setTotal_cny(String total_cny) {
                this.total_cny = total_cny;
            }
        }

        public  class AsksBean {
            /**
             * id : 813106
             * price : 0.05823000
             * nums : 6.30220000
             * origin_num : 6.30220000
             * rate : 8151.00000000
             * trade_method : exchange
             * total : 0.366977
             * total_aud : 3998.97591
             * total_cny : 19794.467112
             */

            private String id;
            private String price;
            private String nums;
            private String origin_num;
            private String rate;
            private String trade_method;
            private String total;
            private String total_aud;
            private String total_cny;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getOrigin_num() {
                return origin_num;
            }

            public void setOrigin_num(String origin_num) {
                this.origin_num = origin_num;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getTrade_method() {
                return trade_method;
            }

            public void setTrade_method(String trade_method) {
                this.trade_method = trade_method;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getTotal_aud() {
                return total_aud;
            }

            public void setTotal_aud(String total_aud) {
                this.total_aud = total_aud;
            }

            public String getTotal_cny() {
                return total_cny;
            }

            public void setTotal_cny(String total_cny) {
                this.total_cny = total_cny;
            }
        }
    }
}
